Actions

Top  Previous  Next

For each backup job you can set actions to be executed before and/or after backup. There are several predefined actions and you can also enter a path to a file. If this is an executable (".exe", ".com", ".bat", etc.) Backup4all will run it, if it is another type of file (".txt", ".doc", etc.) the application will open that file. You can run complex scripts by building a ".bat" file and run it before and/or after backup.

 

 

Before backup

 

Run program/action (before backup)

Check this option and select one of the predefined actions or choose a different executable file. You can either enter directly the path to the program (has to be between quotes) or click the browse button to browse for the file. Backup4all waits until the action is finished before proceeding with the actual backup process.

 

The <Clear backup> predefined action deletes the ".bkc" file and all zip files associated with the current backup job. If this action is set, then the backup performed is a full backup, even if the backup type is set to incremental or differential. You can customize it with the following parameters (numbers can be changed as necessary):

·<Clear backup d=7> - Clear backup is executed only if 7 days have passed since the first backup increment (the full backup).
·<Clear backup n=10> - Clear backup is executed only if the number of file versions is 10.
·<Clear backup d=7 n=10> - Clear backup is executed if 7 days have passed since the first backup increment (the full backup) or if the number of file versions is 10.
·<Clear backup dw=1,2,7> - Clear backup is executed only in the first, second and seventh day of the week (Monday, Tuesday and Sunday in the given example). Valid values: 1-7 (if a parameter outside of these values is set, it will be ignored).
·<Clear backup dm=23, 30> - Clear backup is executed only in the 23rd and 30th day of the month. Valid values: 1-31 (if a parameter outside of these values is set, it will be ignored, same as using the value 31 for a month having only 30 days).

 

Run only once (before backup)

If this option is set, the action will run only once at the next backup execution and the Run program/action (before backup) option will be reset and disabled afterwards.

 

 

After backup

 

Run program/action (after backup)

Check this option and select one of the predefined actions or choose a different executable file. You can either enter directly the path to the program (has to be between quotes) or click the browse button to browse for the file. Backup4all does not wait for the action to be finished before proceeding.

 

Available predefined actions:

·<Stand by> - The computer will enter in the Stand by state after the backup is executed.
·<Hibernate> - Computer enters in Hibernate (if available) after the backup execution.
·<Log off> - Logs off current user.
·<Shut down> - Shuts down the computer after the backup was executed.

 

Run only once (after backup)

If this option is set, the action will run only once at the next backup execution and the Run program/action (after backup) option will be reset and disabled.